\hypertarget{class_i_o_register}{
\section{IORegister Class Reference}
\label{class_i_o_register}\index{IORegister@{IORegister}}
}


{\ttfamily \#include $<$ioregister.hpp$>$}

Inheritance diagram for IORegister:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_i_o_register}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_i_o_register_a41dca280c6cd665abc2b7225a3fcb52e}{IORegister} ()
\begin{DoxyCompactList}\small\item\em Default Constructor. \item\end{DoxyCompactList}\item 
\hyperlink{class_i_o_register_a6df6233eefb797aa5e8c49fb681ccbbb}{IORegister} (int \hyperlink{class_register_a0efceff63f0c995c31c65ac69a426ae0}{value})
\item 
\hyperlink{class_i_o_register_acbaeb6e6567f0bb93ef4e396cf891825}{IORegister} (int \hyperlink{class_register_a0efceff63f0c995c31c65ac69a426ae0}{value}, int tris)
\item 
\hyperlink{class_i_o_register_ad15c31803b811472d00ee35c643b051a}{$\sim$IORegister} ()
\begin{DoxyCompactList}\small\item\em Destructor. \item\end{DoxyCompactList}\item 
void \hyperlink{class_i_o_register_a55dba948e04872312d60eb1725dd2e3a}{setTrisValue} (int \hyperlink{class_register_a0efceff63f0c995c31c65ac69a426ae0}{value})
\item 
int \hyperlink{class_i_o_register_ab9450ca1ccf0d7c2d261109621c69fcc}{getTrisValue} () const 
\item 
void \hyperlink{class_i_o_register_af1352d46fa24ac7bf6b3e3f9c9b067ab}{setTrisBit} (int bit)
\item 
void \hyperlink{class_i_o_register_a4adfa7c4f309064f21a311e416689526}{clearTrisBit} (int bit)
\item 
bool \hyperlink{class_i_o_register_a2c96739ba02e3efbf45c37001a1268d9}{trisIsSet} (int bit) const 
\item 
void \hyperlink{class_i_o_register_ad080e309190b0caede6c721b29f95f82}{clearTris} ()
\begin{DoxyCompactList}\small\item\em Clear the complete Tris \hyperlink{class_register}{Register}. \item\end{DoxyCompactList}\item 
void \hyperlink{class_i_o_register_a9f3cb90a6334772c8aa7d4c1bbeefa7e}{setTris} (\hyperlink{class_register}{Register} $\ast$trisRegister)
\item 
void \hyperlink{class_i_o_register_a6961dbcba3e9849eb904ceb3b617f8fd}{setValue} (int \hyperlink{class_register_a0efceff63f0c995c31c65ac69a426ae0}{value})
\item 
void \hyperlink{class_i_o_register_ae5564dcc4e65ef060f9561a9bbc284c1}{setBit} (int bit)
\item 
void \hyperlink{class_i_o_register_adc4f2b12feeb36e6a761d41955440989}{clearBit} (int bit)
\item 
void \hyperlink{class_i_o_register_a9fc7772256ded1760416f9cb966cca0f}{clear} ()
\begin{DoxyCompactList}\small\item\em Clear the complete content. \item\end{DoxyCompactList}\item 
void \hyperlink{class_i_o_register_aa74b79fcdceb617211e257f986bd29e9}{setInput} (int bit)
\item 
void \hyperlink{class_i_o_register_a8d79ff7b2402f0b0202ace398d0d5bc1}{setOutput} (int bit)
\item 
QString \hyperlink{class_i_o_register_a7f3a750476e370f14e6e9cb79a690610}{trisToString} (int bit=-\/1) const 
\item 
QString \hyperlink{class_i_o_register_ad6c44b492ea3857a32bd25478a3f040f}{latchToString} (int bit=-\/1) const 
\end{DoxyCompactItemize}


\subsection{Detailed Description}


Definition at line 11 of file ioregister.hpp.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_i_o_register_a41dca280c6cd665abc2b7225a3fcb52e}{
\index{IORegister@{IORegister}!IORegister@{IORegister}}
\index{IORegister@{IORegister}!IORegister@{IORegister}}
\subsubsection[{IORegister}]{\setlength{\rightskip}{0pt plus 5cm}IORegister::IORegister ()\hspace{0.3cm}{\ttfamily  \mbox{[}explicit\mbox{]}}}}
\label{class_i_o_register_a41dca280c6cd665abc2b7225a3fcb52e}


Default Constructor. 


\begin{DoxyParams}{Parameters}
\item[{\em parent}]\end{DoxyParams}


Definition at line 3 of file ioregister.cpp.

\hypertarget{class_i_o_register_a6df6233eefb797aa5e8c49fb681ccbbb}{
\index{IORegister@{IORegister}!IORegister@{IORegister}}
\index{IORegister@{IORegister}!IORegister@{IORegister}}
\subsubsection[{IORegister}]{\setlength{\rightskip}{0pt plus 5cm}IORegister::IORegister (int {\em value})\hspace{0.3cm}{\ttfamily  \mbox{[}explicit\mbox{]}}}}
\label{class_i_o_register_a6df6233eefb797aa5e8c49fb681ccbbb}


Definition at line 13 of file ioregister.cpp.

\hypertarget{class_i_o_register_acbaeb6e6567f0bb93ef4e396cf891825}{
\index{IORegister@{IORegister}!IORegister@{IORegister}}
\index{IORegister@{IORegister}!IORegister@{IORegister}}
\subsubsection[{IORegister}]{\setlength{\rightskip}{0pt plus 5cm}IORegister::IORegister (int {\em value}, \/  int {\em tris})\hspace{0.3cm}{\ttfamily  \mbox{[}explicit\mbox{]}}}}
\label{class_i_o_register_acbaeb6e6567f0bb93ef4e396cf891825}


Definition at line 23 of file ioregister.cpp.

\hypertarget{class_i_o_register_ad15c31803b811472d00ee35c643b051a}{
\index{IORegister@{IORegister}!$\sim$IORegister@{$\sim$IORegister}}
\index{$\sim$IORegister@{$\sim$IORegister}!IORegister@{IORegister}}
\subsubsection[{$\sim$IORegister}]{\setlength{\rightskip}{0pt plus 5cm}IORegister::$\sim$IORegister ()}}
\label{class_i_o_register_ad15c31803b811472d00ee35c643b051a}


Destructor. 



Definition at line 35 of file ioregister.cpp.



\subsection{Member Function Documentation}
\hypertarget{class_i_o_register_a9fc7772256ded1760416f9cb966cca0f}{
\index{IORegister@{IORegister}!clear@{clear}}
\index{clear@{clear}!IORegister@{IORegister}}
\subsubsection[{clear}]{\setlength{\rightskip}{0pt plus 5cm}IORegister::clear ()}}
\label{class_i_o_register_a9fc7772256ded1760416f9cb966cca0f}


Clear the complete content. 



Reimplemented from \hyperlink{class_register_a3bfdae75d0d81ce8e2c83f37e079fd65}{Register}.



Definition at line 190 of file ioregister.cpp.

\hypertarget{class_i_o_register_adc4f2b12feeb36e6a761d41955440989}{
\index{IORegister@{IORegister}!clearBit@{clearBit}}
\index{clearBit@{clearBit}!IORegister@{IORegister}}
\subsubsection[{clearBit}]{\setlength{\rightskip}{0pt plus 5cm}void IORegister::clearBit (int {\em bit})}}
\label{class_i_o_register_adc4f2b12feeb36e6a761d41955440989}


Reimplemented from \hyperlink{class_register_ae1a80d34bf2d93ce31ed70ba37c6c901}{Register}.



Definition at line 181 of file ioregister.cpp.

\hypertarget{class_i_o_register_ad080e309190b0caede6c721b29f95f82}{
\index{IORegister@{IORegister}!clearTris@{clearTris}}
\index{clearTris@{clearTris}!IORegister@{IORegister}}
\subsubsection[{clearTris}]{\setlength{\rightskip}{0pt plus 5cm}IORegister::clearTris ()}}
\label{class_i_o_register_ad080e309190b0caede6c721b29f95f82}


Clear the complete Tris \hyperlink{class_register}{Register}. 



Definition at line 88 of file ioregister.cpp.

\hypertarget{class_i_o_register_a4adfa7c4f309064f21a311e416689526}{
\index{IORegister@{IORegister}!clearTrisBit@{clearTrisBit}}
\index{clearTrisBit@{clearTrisBit}!IORegister@{IORegister}}
\subsubsection[{clearTrisBit}]{\setlength{\rightskip}{0pt plus 5cm}void IORegister::clearTrisBit (int {\em bit})}}
\label{class_i_o_register_a4adfa7c4f309064f21a311e416689526}


Definition at line 71 of file ioregister.cpp.

\hypertarget{class_i_o_register_ab9450ca1ccf0d7c2d261109621c69fcc}{
\index{IORegister@{IORegister}!getTrisValue@{getTrisValue}}
\index{getTrisValue@{getTrisValue}!IORegister@{IORegister}}
\subsubsection[{getTrisValue}]{\setlength{\rightskip}{0pt plus 5cm}int IORegister::getTrisValue () const}}
\label{class_i_o_register_ab9450ca1ccf0d7c2d261109621c69fcc}


Definition at line 52 of file ioregister.cpp.

\hypertarget{class_i_o_register_ad6c44b492ea3857a32bd25478a3f040f}{
\index{IORegister@{IORegister}!latchToString@{latchToString}}
\index{latchToString@{latchToString}!IORegister@{IORegister}}
\subsubsection[{latchToString}]{\setlength{\rightskip}{0pt plus 5cm}QString IORegister::latchToString (int {\em bit} = {\ttfamily -\/1}) const}}
\label{class_i_o_register_ad6c44b492ea3857a32bd25478a3f040f}


Definition at line 203 of file ioregister.cpp.

\hypertarget{class_i_o_register_ae5564dcc4e65ef060f9561a9bbc284c1}{
\index{IORegister@{IORegister}!setBit@{setBit}}
\index{setBit@{setBit}!IORegister@{IORegister}}
\subsubsection[{setBit}]{\setlength{\rightskip}{0pt plus 5cm}void IORegister::setBit (int {\em bit})}}
\label{class_i_o_register_ae5564dcc4e65ef060f9561a9bbc284c1}


Reimplemented from \hyperlink{class_register_a69fa545b3c1464bde5af88b1e35d1aac}{Register}.



Definition at line 172 of file ioregister.cpp.

\hypertarget{class_i_o_register_aa74b79fcdceb617211e257f986bd29e9}{
\index{IORegister@{IORegister}!setInput@{setInput}}
\index{setInput@{setInput}!IORegister@{IORegister}}
\subsubsection[{setInput}]{\setlength{\rightskip}{0pt plus 5cm}void IORegister::setInput (int {\em bit})}}
\label{class_i_o_register_aa74b79fcdceb617211e257f986bd29e9}


Definition at line 209 of file ioregister.cpp.

\hypertarget{class_i_o_register_a8d79ff7b2402f0b0202ace398d0d5bc1}{
\index{IORegister@{IORegister}!setOutput@{setOutput}}
\index{setOutput@{setOutput}!IORegister@{IORegister}}
\subsubsection[{setOutput}]{\setlength{\rightskip}{0pt plus 5cm}void IORegister::setOutput (int {\em bit})}}
\label{class_i_o_register_a8d79ff7b2402f0b0202ace398d0d5bc1}


Definition at line 223 of file ioregister.cpp.

\hypertarget{class_i_o_register_a9f3cb90a6334772c8aa7d4c1bbeefa7e}{
\index{IORegister@{IORegister}!setTris@{setTris}}
\index{setTris@{setTris}!IORegister@{IORegister}}
\subsubsection[{setTris}]{\setlength{\rightskip}{0pt plus 5cm}void IORegister::setTris ({\bf Register} $\ast$ {\em trisRegister})}}
\label{class_i_o_register_a9f3cb90a6334772c8aa7d4c1bbeefa7e}


Definition at line 97 of file ioregister.cpp.

\hypertarget{class_i_o_register_af1352d46fa24ac7bf6b3e3f9c9b067ab}{
\index{IORegister@{IORegister}!setTrisBit@{setTrisBit}}
\index{setTrisBit@{setTrisBit}!IORegister@{IORegister}}
\subsubsection[{setTrisBit}]{\setlength{\rightskip}{0pt plus 5cm}void IORegister::setTrisBit (int {\em bit})}}
\label{class_i_o_register_af1352d46fa24ac7bf6b3e3f9c9b067ab}


Definition at line 58 of file ioregister.cpp.

\hypertarget{class_i_o_register_a55dba948e04872312d60eb1725dd2e3a}{
\index{IORegister@{IORegister}!setTrisValue@{setTrisValue}}
\index{setTrisValue@{setTrisValue}!IORegister@{IORegister}}
\subsubsection[{setTrisValue}]{\setlength{\rightskip}{0pt plus 5cm}void IORegister::setTrisValue (int {\em value})}}
\label{class_i_o_register_a55dba948e04872312d60eb1725dd2e3a}


Definition at line 41 of file ioregister.cpp.

\hypertarget{class_i_o_register_a6961dbcba3e9849eb904ceb3b617f8fd}{
\index{IORegister@{IORegister}!setValue@{setValue}}
\index{setValue@{setValue}!IORegister@{IORegister}}
\subsubsection[{setValue}]{\setlength{\rightskip}{0pt plus 5cm}void IORegister::setValue (int {\em value})}}
\label{class_i_o_register_a6961dbcba3e9849eb904ceb3b617f8fd}


Reimplemented from \hyperlink{class_register_a14b8ad63028808a30f9b0eb048fe1c91}{Register}.



Definition at line 156 of file ioregister.cpp.

\hypertarget{class_i_o_register_a2c96739ba02e3efbf45c37001a1268d9}{
\index{IORegister@{IORegister}!trisIsSet@{trisIsSet}}
\index{trisIsSet@{trisIsSet}!IORegister@{IORegister}}
\subsubsection[{trisIsSet}]{\setlength{\rightskip}{0pt plus 5cm}bool IORegister::trisIsSet (int {\em bit}) const}}
\label{class_i_o_register_a2c96739ba02e3efbf45c37001a1268d9}


Definition at line 82 of file ioregister.cpp.

\hypertarget{class_i_o_register_a7f3a750476e370f14e6e9cb79a690610}{
\index{IORegister@{IORegister}!trisToString@{trisToString}}
\index{trisToString@{trisToString}!IORegister@{IORegister}}
\subsubsection[{trisToString}]{\setlength{\rightskip}{0pt plus 5cm}QString IORegister::trisToString (int {\em bit} = {\ttfamily -\/1}) const}}
\label{class_i_o_register_a7f3a750476e370f14e6e9cb79a690610}


Definition at line 197 of file ioregister.cpp.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
\hyperlink{ioregister_8hpp}{ioregister.hpp}\item 
\hyperlink{ioregister_8cpp}{ioregister.cpp}\end{DoxyCompactItemize}
